# 设置一个全局变量

def _init():
    global _global_index
    _global_index = 0


def set_value():
    global _global_index
    _global_index += 1


def get_value():
    return _global_index
